<div class="middle-box text-center loginscreen  animated fadeInDown">
    <div>
        <div>
            <h3 class="logo-name">dqsj</h3>
        </div>
        <h3 class="text-center mt30 mb30">找回密码</h3>
        <form enctype="multipart/form-data" class="form-horizontal" id="userForm" action="/admin/public/forget" method="post">
            <input type="hidden" name="_csrf" value="<?= Yii::$app->request->csrfToken ?>"> 
            <div class="form-group">
                <label class="col-sm-3 control-label required" for="Admin_username">用户名</label>
                <div class="col-sm-8">
                    <input type='text' name='Admin[username]' id='Admin_username' class='form-control' required />
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label required" for="Admin_email">邮　箱</label>
                <div class="col-sm-8">
                    <input type='text' name='Admin[email]' id='Admin_email' class='form-control' required />
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label required" for="verifyCode">验证码</label>
                <div class="col-sm-8">
                    <input type='text' name='Admin[verifyCode]' id='verifyCode' class='form-control' required />
                </div>
            </div>
            <div class="form-group field-admin-verifycode required">
                <label class="col-sm-3 control-label required">&nbsp;&nbsp;</label>
                <div class="col-sm-8"><a href="javascript:;" title="点击换图" ><img src="/admin/public/code?v=564e9b9d57282" id="captchaimg" onclick="this.src='/admin/public/code?&v='+Math.random()" ></a>&nbsp;&nbsp;<a id="yw0_button" href="javascript:;" onclick="freshCode();">换一张</a>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-3 col-sm-9">
                    <button type="submit" class='btn btn-primary mr10'>提交</button>
                    <button type="reset" class='btn' data-toggle="reset">重置</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript">
    function freshCode() {
        var oDiv = document.getElementById('captchaimg'); 
        oDiv.click();
    }

</script>